<!DOCTYPE html>
<html>
<head>
    <?php
        $CI = & get_instance();
        $CI->load->view('templates/header_tpl');
    ?>
    <base href="<?=base_url()?>" />
</head>
<body>
    <div id="wrapper" class="center">
        <!--begin #header-->
        <div id="header">
            <div id="section-member">
                <?php
                    $CI->load->view('templates/section_member_tpl');
                ?>
            </div>
            <div id="banner">
                <img src="<?=base_url()?>/images/banner.jpg"/>
            </div>
            <div id="section-menu">
                <?php
                    $CI->load->view('templates/menu_tpl');
                    $CI->load->view('templates/search_tpl');
                ?>
                <div class="clr"></div>
            </div>
        </div>
        <!--end #header-->
        <!--begin #content-->
        <div id="content">
            <!--begin #left-->
            <div class="left">
                <div class="box-module">
                    <?php
                        $CI->load->view('templates/product_category_tpl');
                        $CI->load->view('templates/carouse_vertical_product_tpl');
                    ?>
                    <!--
                    <div class="module">
                        <div class="md-title">
                            <h2>    
                                Thời tiết
                            </h2>
                        </div>
                        <div class="md-content">
  
                        </div>
                    </div>
                    <div class="module">
                        <div class="md-title">
                            <h2>    
                                Lượt truy cập
                            </h2>
                        </div>
                        <div class="md-content">
  
                        </div>
                    </div>
                    -->
                </div>
            </div>
            <!--end #left-->
            <!--begin #middle-->
            <div class="middle">
            <?php
                if(isset($data))
                {
                    $CI->load->view($page,$data);
                }
                else
                {
                    $CI->load->view($page);
                }
            ?>
            </div>
            <!--end #middle-->
            <!--begin #right-->
            <div class="right">
                <div class="box-module">
                    <?php
                        $CI->load->view('templates/shopping_cart_tpl');
                        $CI->load->view('templates/news_hot_tpl');
                    ?>
                    <div class="module">
                        <div class="md-title">
                            <h2>    
                                Hỗ trợ online
                            </h2>
                        </div>
                        <div class="md-content">
  
                        </div>
                    </div>
                </div>
            </div>
            <!--end #right-->
            <div class="clr"></div>
        </div>
        <!--end #content-->
        <!--begin #slider-bottom-->
        <?php
            $CI->load->view('templates/slider_bottom_tpl');
        ?>    
        <!--end #slider-bottom-->
        <!--begin #footer-->
        <?php
            $CI->load->view('templates/footer_tpl');
        ?>
        <!--end #footer-->
    </div>
</body>
</html>